package com.icloud.system.api.feign;

import com.icloud.common.core.api.CommonResult;
import com.icloud.system.api.dto.SaveAppOperationLogDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "icloud-system", contextId = "appWhiteListOperationLog", path = "/internal/appWhiteListOperationLog")
public interface AppWhiteListOperationLogFeignClient {
    /**
     * 添加App操作日志
     */
    @PostMapping(value = "/add")
    @ResponseBody
    CommonResult<Void> saveAppWhiteListOperationLog(@RequestBody SaveAppOperationLogDto dto);
}
